<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {
	
	function __construct(){
		parent::__construct();
        $this->load->model(array('home_model'));
        $this->load->library(array('solr'));
        
	
	}

	function index(){
	     $res =   $this->home_model->get();
         foreach ($res as $key => $value) {
             print_r($value);
         }
         exit('no');
		$this->load->view('welcome_message');
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */